﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace LOPA.Actions
{
    public class ExcelExportAction : BaseAction{
        private string _fileName;
        private LopaProject _project;
        public ExcelExportAction(string fileName, LopaProject project)
        {
            _fileName = fileName;
            _project = project;
        }

        public override void Run(){
            _processController.Message = "导出Excel...";
           DataAccess.CSVHelper.ExportLOPAProjectToExcel(_fileName,_project);
        }
    }
}
